//
//  STLoginViewController.swift
//  BasicAnimation-Swift
//
//  Created by Stan on 2017-02-14.
//  Copyright © 2017 stan. All rights reserved.
//

import UIKit


class STLoginViewController: UIViewController {
    
    @IBOutlet weak var singBtn: UIButton!
    
    @IBOutlet var loginBtn: UIView!
    
    
    override func viewWillAppear(_ animated: Bool) {
        
        //        设置登录和注册两个btn的圆角
        singBtn.layer.cornerRadius = 5
        loginBtn.layer.cornerRadius = 5
        
        
        //        将导航栏隐藏
        navigationController?.setNavigationBarHidden(true, animated: true)
    }
    
    
    //    设置电池栏的样式
    override var preferredStatusBarStyle: UIStatusBarStyle {
        return UIStatusBarStyle.lightContent
        
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
    }
    
}
